﻿using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XW.Core;

namespace XW.Data
{
    /// <summary>
    /// 角色菜单实体
    /// </summary>
    [SugarTable(null, TableDescription = "角色菜单表")]
    public class SysRoleMenu : EntityBase 
    {
    
        /// <summary>
        /// 角色id
        /// </summary>
        [JsonConverter(typeof(LongJsonConverter))]
        [SugarColumn(ColumnDescription = "角色id")]
        public long RoleId { get; set; }

        /// <summary>
        /// 菜单Id
        /// </summary> 
        [JsonConverter(typeof(LongJsonConverter))]
        [SugarColumn(ColumnDescription = "菜单Id")]
        public long MenuId { get; set; }
    }
}
